﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nplJobsCommon.Common;
using nplJobsDAL;
using System.Data;
using System.Data.SqlClient;
namespace nplJobsDAL.Common
{
    public class JobseekerDegreeQualification:DataAccessBase
    {
        public DataSet GetListDegree()
        {
            try
            {
                DataSet ds;
                DataBaseHelper dbHelper = new DataBaseHelper("spSelectDegrees");

                ds = dbHelper.Run(base.ConnectionString);
                return ds;
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }

        public DataSet GetListQualification()
        {
            try
            {
                DataSet ds;
                DataBaseHelper dbHelper = new DataBaseHelper("spSelectQualification");

                ds = dbHelper.Run(base.ConnectionString);
                return ds;
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }
    }
}
